home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ MSN Messenger 1.xpl < prev    next >
Text File  |  1999-09-13  |  1KB  |  67 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="3"
  4. "UIPATH"="Internet\Instant Messaging\MSN Messenger"
  5. "NAME"="URL Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.05"
  8. "TEXT 1"="Server URL/Port"
  9. "TEXT 2"="Socks 4 Server"
  10. "TEXT 3"="Socks 5 Server"
  11. "DESCRIPTION 1"="You can use this plug-in to change the options for MSN Messenger."
  12. "DESCRIPTION 2"="The default value for Server URL is "messenger.hotmail.com;209.185.128.144:1863". "
  13. "DESCRIPTION 3"="MSN Messenger may be obtained at http://messenger.msn.com/"
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  18.  
  19.  
  20.  
  21.  
  22. sPath="HKCU\Software\Microsoft\MessengerService\"
  23. sV1="Server"
  24. sV2="SOCKS4Server"
  25. sV3="SOCKS5Server"
  26.  
  27. Sub Plugin_Initialize 
  28.  if RegPathExists(sPath) then
  29.     s=RegReadValue(sPath & sV1)
  30.     SetUIElement 1,s
  31.  
  32.     s=RegReadValue(sPath & sV2)
  33.     SetUIElement 2,s
  34.  
  35.     s=RegReadValue(sPath & sV3)
  36.     SetUIElement 3,s
  37.  
  38.  else
  39.     Disable
  40.  end if
  41. End Sub
  42.  
  43.  
  44. Sub Plugin_CheckData(ElementIndex)
  45. End Sub
  46.  
  47.  
  48.  
  49. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  50.  s=GetUIElement(1)
  51.  Call RegWriteValue(sPath & sV1,s,1)
  52.  
  53.  s=GetUIElement(2)
  54.  Call RegWriteValue(sPath & sV2,s,1)
  55.  
  56.  s=GetUIElement(3)
  57.  Call RegWriteValue(sPath & sV3,s,1)
  58.  
  59. End Sub
  60.  
  61.  
  62. Sub Plugin_Terminate 
  63. End Sub
  64.  
  65.  
  66.  
  67.